package com.better.backend.mqReceiverService.examReceiver.model;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;

/**
 * @author  参考科目分数(数据同步)
 * @create 2017-10-05 16:55
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("参考科目分数信息")
public class SubjectScoreModel implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "科目ID")
    @NotEmpty(message = "科目Id不能为空")
    private String subjectid;   //基础数据科目ID，不是唯一的
    @ApiModelProperty(value = "科目分数")
    @NotEmpty(message = "科目分数不能为空")
    private String toalscore;
    @ApiModelProperty(value = "科目名称")
    @NotEmpty(message = "科目名称不能为空")
    private String subjectname;
    @ApiModelProperty(value = "唯一考试科目ID",hidden=true)
    private String id;   //唯一考试科目ID
    @ApiModelProperty(value = "是否已经导入")
    private String isEdit = "0";  //是否编辑。0：未导入，1：已导入
}
